
<template>
  <HelloWorld>
    <template #icom-text="a">
    <h1>{{ a.text }}</h1>
    </template>
    
    <template v-slot:default="a">
      <h1>{{ a.msg }}</h1>   {{ msg }}
    </template>
 
    </HelloWorld>
</template>
<script >
import HelloWorld from './components/HelloWorld.vue'
export default{
  data(){
    return{
      msg:'父'
    }
  },components:{
    HelloWorld
  }
}
</script>

<style scoped>

</style>
